package thread;

public class ww {

    public static void main(String[] args) throws InterruptedException {
        Thread t =new Thread(()->{
            System.out.println("hello");

        },"helle");

        t.start();
        Thread.sleep(2000);
        System.out.println(t.getName());
    }


}
